FROM openjdk:8

# 设置时区
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone

ADD target/market.jar app.jar

ENTRYPOINT ["java","-jar","app.jar","--spring.profiles.active=test"]
